Earth Movers Prototypes: a Convex Learning Approach for Discovering Activity Patterns in Dynamic Scenes